package com.chuanke.ckfamily.dao.user;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.chuanke.ckfamily.dao.user.model.FriendApply;
import com.chuanke.ckfamily.dao.user.model.FriendApplyRecord;
import com.weijie.core.BaseDao;

public interface FriendApplyDao extends BaseDao<FriendApply> {
	/**
	 * 获取申请记录信息
	 *
	 * @return
	 */
	List<FriendApplyRecord> getFriendApplyRecord(Long responser);

	/**
	 * 查找申请记录
	 * 
	 * @param param
	 * @return
	 */
	FriendApply getFriendApply(@Param("param") Map<String, Object> param);

	void deleteFriendApply(@Param("param") Map<String, Object> param);
}